@import '../../../style/var.scss';

.my-order {
  position: relative;
  width: 100%;
  height: 100%;
  // overflow: auto;
}

.tab-list {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: #fff;
  z-index: 10;

  .tab-item {
    font-size: 28px;
    font-weight: bold;
    color: rgba(38, 38, 38, 1);

    &.active {
      border-bottom: 6px solid #F8A120;
    }
  }
}

.order-list {
  position: relative;
  left: 0;
  padding: 20px 24px 100px 24px;
  width: 100%;
  height: calc(100% - 80px);
  background-color: #000;

  .order-card {
    margin-bottom: 20px;
    padding: 0 23px 0 28px;
    width: 100%;
    height: 397px;
    border-radius: 6px;
    background-color: #272C30;

    .top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      height: 75px;

      .order-id {
        font-size: 30px;
        font-weight: bold;
        color: rgb(255, 255, 255);
      }

      .order-status {
        font-size: 30px;
        font-weight: bold;
        color: #262626;

        &.ready-pay {
          color: rgba(248, 161, 32, 1);
        }
      }
    }

    .middle {
      margin-bottom: 22px;
      padding: 24px 0;
      display: flex;
      border-bottom: 1px solid #585b5d;
      border-top: 1px solid #585b5d;
      position: relative;
      .cart-pro-select{
        position: absolute;
        top: 90px;
        width: 28px;
        height: 28px;
      }
      .goods-image {
        flex-shrink: 0;
        margin-right: 17px;
        width: 166px;
        height: 166px;
        margin-left:40px;
      }
      .order-info {
        flex: 1;
        height: 166px;
        line-height: 1;
        overflow: hidden;

        .goods-name {
          margin: 6px 0 17px;
          width: 100%;
          font-size: 30px;
          font-weight: bold;
          color: rgb(253, 253, 253);
          @include oneRowOmit;
        }

        .goods-desc {
          margin-bottom: 50px;
          width: 100%;
          font-size: 26px;
          line-height: 30px;
          font-weight: 300;
          color: rgba(176, 176, 176, 1);
          @include oneRowOmit;
        }

        .goods-specification {
          display: flex;
          justify-content: space-between;
          width: 100%;

          .goods-number {
            font-size: 26px;
            color: rgba(176, 176, 176, 1);
          }

          .goods-price {
            font-size: 30px;
            font-weight: bold;
            color: rgb(252, 252, 252);
          }
        }
      }
    }

    .bottom {
      display: inline-block;
      width: 100%;
      text-align: right;
      // justify-content: flex-end;

      .opt-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 20px;
        width: 160px;
        height: 60px;
        font-size: 26px;
        border: 1px solid rgba(38, 38, 38, 1);
        color: rgba(38, 38, 38, 1);
      }

      .to-pay,
      .check-order {
        border: none;
        background-color: #F8A120;
        color: #FFFFFF;
      }
    }
  }
}

.empty-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .empty {
    width: 130rpx;
    height: 150rpx;
  }

  .tip {
    margin-top: 30rpx;
    font-size: 34rpx;
    font-family: PingFangSC-Regular;
    letter-spacing: 1rpx;
    color: rgba(153, 153, 153, 1);
  }
}
.commonfooter{
  width: 100%;
  height: 148px;
  background-color: #222;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 0 70px;
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: space-between;
  .cart-pro-select{
    width: 28px;
    height: 28px;
  }
  .wechart{
      width: 190px;
      height: 56px;
      background-color: #fff; 
      font-size: 26px;
      font-weight: bold;
      color: #0F1115;
      text-align: center;
      line-height: 56px;
      margin-left: 20px;
  }
  .bigmoney{
      margin-right:20px;
      font-size: 35px;
      font-weight: bold;
  }
  .bigmoneyFu{
      font-size: 26px;
      margin-left: 10px;
  }
  .shuoming{
      font-weight: bold;
      font-size: 21px;
  }
  .lastMoney{      
      font-size: 21px;
      font-weight: bold;
      color: #DCAD7F;
  }
}
